from django.conf.urls import url
from home_application.Index.views import IndexView, LoginView, RegisterView, MyPageView, MyFavoriteView, MarkView, ModifyView, \
    BuiltView, Built1View

# 正在部署的应用的名称
app_name = 'Index'

urlpatterns = [
    url(r'^$', IndexView.as_view(), name='index'),  # 首页
    url(r'^Login$', LoginView.as_view(), name='Login'),  # 登录
    url(r'^Register$', RegisterView.as_view(), name='Register'),  # 注册
    url(r'^MyFavorite$', MyFavoriteView.as_view(), name='MyFavorite'),  # 我的收藏
    url(r'^MyPage$', MyPageView.as_view(), name='MyPage'),  # 我的主页
    url(r'^Mark$', MarkView.as_view(), name='Mark'),  # 发布信息
    url(r'^Modify$', ModifyView.as_view(), name='Modify'),  # 修改资料
    url(r'^Built$', BuiltView.as_view(), name='Built'),  # 正在开发
    url(r'^Built1$', Built1View.as_view(), name='Built1'),  # 正在开发
]
